package beans;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.awt.print.PrinterGraphics;

/**
 * 声明用户所有的登录状态
 */
@AllArgsConstructor
@Getter
public enum LoginStatus {
    LOGIN_SUCCESS(100,"登录成功"),
    LOGIN_FAILE(101,"用户名或密码错误"),
    LOGIN_OUT(102,"用户已注销");

    /*状态码*/
    private Integer code;

    /*提示信息*/
    private String msg;
}
